zoukankan      html  css  js  c++  java
  • babylonjs

    //////////////////
    //// debug模式启动浏览器
    //////////////////
    以debug模式启动浏览器,才可以attach成功,启动前需要退出chrome
    
    Windows
    Right click the Chrome shortcut, and select properties
    In the "target" field, append --remote-debugging-port=9222
    Or in a command prompt, execute <path to chrome>/chrome.exe --remote-debugging-port=9222
    
    macOS
    In a terminal, execute /Applications/Google Chrome.app/Contents/MacOS/Google Chrome --remote-debugging-port=9222
    
    Linux
    In a terminal, launch google-chrome --remote-debugging-port=9222
    
    //////////////////
    //// python 本地http server
    //////////////////
    
    python -m SimpleHTTPServer
    
    
    //////////////////
    //// attach 配置
    //////////////////
    {
        // Use IntelliSense to learn about possible attributes.
        // Hover to view descriptions of existing attributes.
        // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
        "version": "0.2.0",
        "configurations": [
            
            {
                "type": "chrome",
                "request": "attach",
                "name": "Attach to Chrome",
                "port": 9222,
                "webRoot": "${workspaceFolder}"
            }
        ]
    }
  • 相关阅读:
    全排列 next_permutation()函数
    hdu1247
    hdu3518
    pku2774 求最长公共子串
    hdu3460 Ancient Printer
    pku2001
    pku 3261
    NOI.AC#2007light【根号分治】
    CF1370F2The Hidden Pair(Hard Version)【交互题,二分】
    P3335[ZJOI2013]蚂蚁寻路【dp】
  • 原文地址:https://www.cnblogs.com/Searchor/p/9395123.html
Copyright © 2011-2022 走看看