Comments (12)
@hubcarl 大神方便解答下吗?
from easywebpack.
@ycvcb123 你什么系统? 我明天试试
from easywebpack.
@ycvcb123 你什么系统? 我明天试试
from easywebpack.
@hubcarl easywebpack-cli 选下面的配置,新建的项目,npm run debug就会出现上面在编译中的情况
from easywebpack.
@ycvcb123 是vscode直接调试还是chrome方式调试,chrome方式试了下,没有问题,vscode得再试试
from easywebpack.
@hubcarl 我这边也有一样的问题
不知道你说的chrome的调试方式没问题是指用chrome就能正常调试吗?
但是用debug
模式运行时,请求页面卡在了这个页面上
请求感觉还没有到egg的进程,怎么调试?
from easywebpack.
@hubcarl vscode直接调试就会卡住
from easywebpack.
感觉像是前端资源的构建卡住了
from easywebpack.
chrome 可以调试 devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:9999/ws_proxy
from easywebpack.
@ycvcb123 断点打在哪里? controller 里面?
from easywebpack.
easy-team/egg-vue-typescript-boilerplate#14
from easywebpack.
chrome 可以调试 devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:9999/ws_proxy
@hubcarl 详细情况是这样的
- npm run debug, 没有报错能运行
- 打开
chrome://inspect
也能看到对应的debugger进程(见下图1)
问题是
进到chrome的devtools,在source下并看不到任何业务代码文件,使用现在使用 devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:9999/ws_proxy 能正常在devtools中定位到业务代码了command + p
也搜索不到任何业务代码文件,只能看到node_modules的文件(见下图2)- 前端页面卡住了,卡在那个
webpack 正在努力编译中...
的页面,我想调试 egg 服务,那前端的请求都写好了,我就是想打开前端页面由前端发送请求出去,但现在npm run debug
时,前端页面根本打不开(下见图3),难道只能启动debug然后用postman一类的工具构造请求吗。
图1
图2
图3
from easywebpack.
Related Issues (20)
- easy zip/tar --filename [filename] //filename 未生效 HOT 1
- url-loader options 存在bug HOT 5
- 请教一下,easy zip 的执行流程在哪看? HOT 4
- 静态js文件修改没有热更新 HOT 3
- easywebpack cssModule 源码没找到在哪 HOT 2
- 修改publicpath 出现问题
- webpack的alias配置咨询 HOT 1
- 关于webpack.config.js的externals配置问题
- 网卡名问题,,en0, en1 HOT 4
- webpack pulicPath不支持相对路径 HOT 1
- webpack 无法热更新。 HOT 1
- utils.checkDllUpdate should handle publicPath changed
- use easywebpack cli to initialize a application which use [email protected] , start node server by npm run dev, all static resouces 404 HOT 1
- alias needed for "mini-css-extract-plugin".loader
- optimize.js | splitChunks rules: need handle node_modules in windows
- 如何通过webpack配置去掉view文件中存在的一堆css样式代码
- 使用webpack5需要将thread-loader依赖升级到最新 HOT 1
- 如何配置pwa?
- 该项目不维护了吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easywebpack.